ee08ee5c46eb04421e9cebb56933d998a50f3529,platform/vcs-log/impl/src/com/intellij/vcs/log/ui/filter/BranchFilterPopupComponent.java,BranchFilterPopupComponent,getToolTip,#VcsLogBranchFilter#,50

Before Change


  @Nullable
  @Override
  protected String getToolTip(@NotNull VcsLogBranchFilter filter) {
    return tooltip(filter.getBranchNames());
  }

  @NotNull

After Change


  @Nullable
  @Override
  protected String getToolTip(@NotNull VcsLogBranchFilter filter) {
    boolean positiveMatch = !filter.getBranchNames().isEmpty();
    Collection<String> names = positiveMatch ? filter.getBranchNames() : filter.getExcludedBranchNames();
    String tooltip = tooltip(names);
    return positiveMatch ? tooltip : "not in " + tooltip;